package com.sevattal.service.leaves.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sevattal.service.base.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 供应商表
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_prov")
@ApiModel(value="Prov对象", description="供应商表")
public class Prov extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "供应商号")
    @TableField(value = "f_pId")
    private String fPid;

    @ApiModelProperty(value = "供应商名称")
    @TableField("f_pName")
    private String fPname;

    @ApiModelProperty(value = "地址")
    @TableField("f_pAddr")
    private String fPaddr;

    @ApiModelProperty(value = "传真")
    @TableField("f_pFax")
    private String fPfax;

    @ApiModelProperty(value = "联系人")
    @TableField("f_pContacts")
    private String fPcontacts;

    @ApiModelProperty(value = "电话")
    @TableField("f_pTel")
    private String fPtel;

    @ApiModelProperty(value = "邮箱")
    @TableField("f_pEmail")
    private String fPemail;

    @ApiModelProperty(value = "备注")
    @TableField("f_pMemo")
    private String fPmemo;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否禁用 1（true）已禁用，  0（false）未禁用")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
